package com.javasws.springsecuritydemo.service;

import org.springframework.security.core.Authentication;

import javax.servlet.http.HttpServletRequest;

/**
 * @author by javasws @date 2021/12/04.
 */
public interface MyService {

    boolean hasPermission(HttpServletRequest request, Authentication authentication);
}
